<!doctype html>
<html lang="">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="这是一个测试" />
    <title>Vite App</title>
    <link rel="icon" href="/src/assets/favicon.ico" type="image/png" />
    <link href="https://cdn.bootcdn.net/ajax/libs/reseter.css/2.0.0/reseter.css" rel="stylesheet" />
    <style>
      div {
        height: 100vh;
        display: flex;
      }
      .left {
        width: 200px;
        background-color: greenyellow;
      }
      .right {
        background-color: yellow;
        /* 第一种实现方法：flex */
        /* flex: 1; */
        width: 200px;
      }
      .center {
        width: calc(100vw - 400px);
        background-color: gold;
      }
    </style>
  </head>
  <body>
    <div>
      <div class="left"></div>
      <div class="center"></div>
      <div class="right"></div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
